package com.zj.roseoj.judge.strategy;

import com.zj.roseoj.model.dto.question.JudgeCase;
import com.zj.roseoj.model.dto.questionsumbit.JudgeInfo;
import com.zj.roseoj.model.entity.Question;
import com.zj.roseoj.model.entity.QuestionSubmit;
import lombok.Data;

import java.util.List;

/**
 * 判题上下文（用于定义在策略中传递的参数）
 */
@Data
public class JudgeContext {
    /**
     * 判题信息
     */
    private JudgeInfo judgeInfo;

    /**
     * 输入用例
     */
    private List<String> inputList;

    /**
     * 输出用例
     */
    private List<String> outputList;

    /**
     * 题目
     */
    private Question question;

    /**
     * 题目提交信息
     */
    private QuestionSubmit questionSubmit;

    /**
     * 用例
     */
    private List<JudgeCase> judgeCaseList;
}
